<?php

class Map extends Controller {
	
	function Map()
	{
		//Constructor
		parent::Controller();
		$this->load->model('mapmodel');
		$this->load->model('usermodel');
	}
	
	function index()
	{
		$data['locations'] = $this->mapmodel->getAllLocation();
		$this->load->view('map_view', $data);
	}
	
}
/* End of file map.php*/
/* Location: application/controllers/map.php */